package com.example.study.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.study.common.api.ResultUtil;
import com.example.study.model.TeacherPO;
import com.example.study.model.TeacherVO;

public interface TeacherService  extends IService<TeacherPO> {

    ResultUtil saveTeacher(TeacherVO teacherVO);

    ResultUtil getTeacherPage(int pageIndex, int pageSize, TeacherVO teacherVO);

    ResultUtil updateTeacher(TeacherVO teacherVO);

    ResultUtil deleteTeacher(Long id);
}
